package com.job.ming.Zuoye0709;

/**
 * @author Yangmingyu
 * @version 1.0
 * @since 2022-07-10 16:35:36
 */
public class Duotai {
    private String name;
    private int age;
    private Duotai2 zhushou;

    public static void main(String[] args) {

        Duotai yihao=new Duotai();
        Duotai2 zhushou=new Duotai2();
        yihao.setName("zhuyao");
        
    }


    public void erbei(int a){
        int b=Duotai2.shuangbei(a);
        System.out.println("结果是"+b);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Duotai2 getZhushou() {
        return zhushou;
    }

    public void setZhushou(Duotai2 zhushou) {
        this.zhushou = zhushou;
    }
}